package org.example.ch01;

import java.util.Random;

/**
 * @author yang
 * @date 2024-03-18
 */
public class TestMain {
    public static void main(String[] args) {
        MyThread mt = new MyThread();
//        mt.setPriority(10);
        mt.start();

        int red = new Random().nextInt(256);
        int green = new Random().nextInt(256);
        int blue = new Random().nextInt(256);
        String color = "TestMain:rgb("+red+","+green+","+blue+")";
        System.out.println(color);
    }
}
